<template>
    <div id="app">
      <router-view></router-view>
      <FooterGuide v-show="$route.meta.showFooter"></FooterGuide>
    </div>
</template>

<script>
import { mapActions } from 'vuex'
import FooterGuide from './components/FooterGuide/FooterGuide'

export default {
  name: 'App',
  data () {
    return {}
  },
  components: {
    FooterGuide
  },
  methods: {
    ...mapActions(['getAddress', 'getUserInfo'])
  },
  mounted () {
    this.getAddress()
    this.getUserInfo()
  }
}
</script>

<style lang="stylus">
  #app
    width 100%
    height 100%
    background #f5f5f5
</style>
